package com.ecjtu.gateway.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ecjtu.gateway.db.po.LeakagePo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface LeakageMapper extends BaseMapper<LeakagePo> {

    @Select(" select * from leakage where id  > #{max} limit #{limit} ")
    List<LeakagePo> queryList(@Param("max") Long max, @Param("limit") Integer limit);
}
